package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.Modules;

public interface ModuleDAO {
	Modules retrieveByPK(int id) throws Exception;

	List selectAll()throws Exception;
	void update(Modules module)throws Exception;

	List selectAllActiveInMenu()throws Exception;

	List selectAllInactive()throws Exception;

	
	List selectAllActiveNotMenu()throws Exception;

	void deleteByPK(int mid)throws Exception;

	int addNew(Modules module)throws Exception;
}
